/*
 * BackupFileBO.java
 *
 * Created on April 6, 2007, 9:18 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package Data;

import java.io.InputStream;
import java.sql.Blob;
import java.util.Date;

/**
 *
 * @author Dallin Regehr
 */


public class BackupFileBO {
    
    private String id;
    private String customerID;
    private String fileName;
    private Date dateAdded;
    private double size;
    private String extension;
    private boolean alreadyInDB = false;
    private boolean dirty = true;
    private InputStream fileInStream;
    
    /** Creates a new instance of BackupFileBO */
    public BackupFileBO(String id) {
        this.id = id;
    }
    
    public String getId() {
        return id;
    }
    
    public String getCustomerID() {
        return customerID;
    }
    
    public void setCustomerID(String customerID) {
        this.customerID = customerID;
    }
    
    public String getFileName() {
        return fileName;
    }
    
    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
    
    public Date getDateAdded() {
        return dateAdded;
    }
    
    public void setDateAdded(Date dateAdded) {
        this.dateAdded = dateAdded;
    }
    
    public double getSize() {
        return size;
    }
    
    public void setSize(double size) {
        this.size = size;
    }
    
    public String getExtension() {
        return extension;
    }
    
    public void setExtension(String extension) {
        this.extension = extension;
    }

    public boolean isAlreadyInDB() {
        return alreadyInDB;
    }

    public void setAlreadyInDB(boolean alreadyInDB) {
        this.alreadyInDB = alreadyInDB;
    }

    public boolean isDirty() {
        return dirty;
    }

    public void setDirty(boolean dirty) {
        this.dirty = dirty;
    }
    
    
    public InputStream getFileInStream() {
        return fileInStream;
    }

    public void setFileInStream(InputStream fileInStream) {
        this.fileInStream = fileInStream;
    }
}
